package com.ns002.yigou.quote.json;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by xu on 2017/6/17 0017.
 * 汇率行情
 */
public class ParitiesQuote {

//    "latestPrice":111.35,
//            "priceAtBeginning":111.269,
//            "priceAtEndLastday":111.349,
//            "highestPrice":111.61,
//            "lowwestPrice":111.153,
//            "productContract":"JPY",
//            "dealStartTime":1495446315000,
//            "latestTime":"2017-05-22 17:45:15"

    private BigDecimal latestPrice;            //产品最新报价
    private BigDecimal priceAtBeginning;       //产品今日开盘价
    private BigDecimal priceAtEndLastday;      //产品昨日收盘价
    private BigDecimal highestPrice;           //产品今日最高价
    private BigDecimal lowwestPrice;           //产品今日最低价
    private String productContract;            //产品标识
    private long dealStartTime;                //次报价获得时间
    private Date latestTime;                   //报价最后获取时间


    public BigDecimal getLatestPrice() {
        return latestPrice;
    }

    public void setLatestPrice(BigDecimal latestPrice) {
        this.latestPrice = latestPrice;
    }

    public BigDecimal getPriceAtBeginning() {
        return priceAtBeginning;
    }

    public void setPriceAtBeginning(BigDecimal priceAtBeginning) {
        this.priceAtBeginning = priceAtBeginning;
    }

    public BigDecimal getPriceAtEndLastday() {
        return priceAtEndLastday;
    }

    public void setPriceAtEndLastday(BigDecimal priceAtEndLastday) {
        this.priceAtEndLastday = priceAtEndLastday;
    }

    public BigDecimal getHighestPrice() {
        return highestPrice;
    }

    public void setHighestPrice(BigDecimal highestPrice) {
        this.highestPrice = highestPrice;
    }

    public BigDecimal getLowwestPrice() {
        return lowwestPrice;
    }

    public void setLowwestPrice(BigDecimal lowwestPrice) {
        this.lowwestPrice = lowwestPrice;
    }

    public String getProductContract() {
        return productContract;
    }

    public void setProductContract(String productContract) {
        this.productContract = productContract;
    }

    public long getDealStartTime() {
        return dealStartTime;
    }

    public void setDealStartTime(long dealStartTime) {
        this.dealStartTime = dealStartTime;
    }

    public Date getLatestTime() {
        return latestTime;
    }

    public void setLatestTime(Date latestTime) {
        this.latestTime = latestTime;
    }
}
